package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.NXTThread;

/**
 * Created by chuah on 12/2/14.
 */
public class YourNXTThread extends NXTThread {
    public YourNXTThread() { setNXTThreadName ("Tank"); }
    public void run() {
        runMotor(PORT_A,-70);
        runMotor(PORT_B,70);
        wait(200);
        stopMotor(PORT_B);
        stopMotor(PORT_A);
        wait(500);
        runMotor(PORT_A);
        runMotor(PORT_B);
        wait(2500);
        stopMotor(PORT_B);
        stopMotor(PORT_A);
        reset();


    }

}
